package com.gl.blank.simplewebapp;

import java.util.Date;

/**
 * A simple bean for demonstration of writing and reading bean properties form
 * JSP pages.
 * 
 */
public class UserData
{
    private String userInput;

    /**
     * Returns user input
     */
    public String getUserInput()
    {
        return userInput;
    }

    /**
     * Sets user input
     */
    public void setUserInput( String userInput )
    {
        this.userInput = userInput;
    }

    /**
     * Returns current server time in string format
     */
    public String getServerTime()
    {
        return new Date().toString();
    }
}
